package com.vhall.component.service.room;

import com.baomidou.mybatisplus.extension.service.IService;
import com.vhall.component.entity.page.vo.PageVO;
import com.vhall.component.entity.room.entity.RoomDraftRecordEntity;
import com.vhall.component.entity.room.vo.*;

import java.util.List;

/**
* @author xing.wang
* @description 针对表【room_draft_record(直播草稿记录表)】的数据库操作Service
* @createDate 2023-08-09 17:12:27
*/
public interface RoomDraftRecordService extends IService<RoomDraftRecordEntity> {

    /**
     * 保存房间草稿
     * @param vo
     * @return
     */
    Boolean saveRoomDraft(SaveRoomDraftRequestVO vo);

    /**
     * 删除房间草稿
     * @param vo
     * @return
     */
    Boolean deleteRoomDraft(DeleteRoomDraftRequestVO vo);

    /**
     * 草稿分页查询
     * @param vo
     * @return
     */
    PageVO<RoomDraftListResponseVO> pageList(RoomDraftPageListRequestVO vo);

    /**
     * 获取直播草稿信息详情
     * @param vo
     * @return
     */
    GetRoomDraftResponseVO getRoomDraftInfo(GetRoomDraftRequestVO vo);

    /**
     * 获取关联到当前草稿的投资依据
     * @param vo
     * @return
     */
    List<InvestRefResponseVO> getRoomDraftInvestRefList(RoomInvestRefRelationListRequestVO vo);
}
